package com.wrench.elevator.base.dao;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Description: AppController接口
 * @author yangchenfeng
 * @date Oct 13, 2017 9:31:52 AM
 * @version V1.0
 */
public interface AppControllerDao
{
    
    /**
     * 登录
     * */
    
    void login(HttpServletRequest request, HttpServletResponse response, ModelMap map);
    
    /**
     * 注册
     * */
    void reg(HttpServletRequest request, HttpServletResponse response, ModelMap map);
    
    /**
     * 人脸录入 添加家人脸
     * */
    void addFace(HttpServletRequest request, HttpServletResponse response, ModelMap map);
    
    /**
     * 地址录入
     * */
    void setAddress(HttpServletRequest request, HttpServletResponse response, ModelMap map);
    
    /**
     * 充值
     * */
    void recharge(HttpServletRequest request, HttpServletResponse response, ModelMap map);
    
    /**
     * 乘梯
     * */
    void chengti(HttpServletRequest request, HttpServletResponse response, ModelMap map);
    
    /**
     * 呼梯
     * */
    void huti(HttpServletRequest request, HttpServletResponse response, ModelMap map);
    
    /**
     * 云端注册
     * */
    void regByCloud(HttpServletRequest request, HttpServletResponse response, ModelMap map,
        @RequestParam(value = "pic", required = true) MultipartFile pic);
}
